package test;
import java.io.*;
import java.math.*;
import	java.util.*;
public class XiaoMingSum {
 public static void main(String[] args)
 
    {  	
	   Scanner sc =new Scanner(System.in);
	     int a=sc.nextInt();
	     int b =sc.nextInt();
         XiaoSum(a,b);
		 
	 }
 
  private static int XiaoSum(int a,int b)
  {
	  if(a>=100)
	  {
		  a%=100;
	  }
	  if(b>=100)
	  {
		  b%=100;
	  }
	  int sum=(a+b)%100;
	  System.out.println(sum);
	  return sum;
	  
  }
}
